#include <iostream>
#include "../include/Logger.h"

using std::cout;
using std::endl;

void test() {
    // g++ logger_test.cc ../src/common/Logger.cc ../src/common/Configuration.cc -llog4cpp
	int number = 10;
	const char * pstr = "hello,world";
    LogInfo("%d %p %s %d", number, &number, pstr, number);
    LogWarn("%d %p %s %d", number, &number, pstr, number);
    LogError("%d %p %s %d", number, &number, pstr, number);
    LogDebug("%d %p %s %d", number, &number, pstr, number);
}

int main(int argc, char **argv) {
	test();
	return 0;
}
